WPS Office.apk(点击下载) / oeg.java


package defpackage;

import java.io.IOException;

/* renamed from: oeg  reason: default package */
public final class oeg extends odp {
    boolean qtQ;
    boolean qtR;

    public oeg(ejz ejz, nos nos, boolean z, boolean z2) {
        super(ejz, nos);
        this.qtQ = z;
        this.qtR = z2;
    }

    @Override // defpackage.odp
    public final void dnS() throws IOException {
        this.qqe.i("pic:pic", "xmlns:pic", "http://schemas.openxmlformats.org/drawingml/2006/picture");
        if (this.eWH.baS() != null) {
            this.qqe.i("pic:nvPicPr", new String[0]);
            int bal = this.eWH.baS().bal();
            if (-1 == bal) {
                bal = 0;
            }
            String baL = this.eWH.baL();
            if (baL == null) {
                baL = "Image";
            }
            this.qqe.j("pic:cNvPr", "id", String.valueOf(bal), "name", String.valueOf(baL));
            this.qqe.j("pic:cNvPicPr", new String[0]);
            this.qqe.endElement("pic:nvPicPr");
        }
        if (this.eWH.baS() != null) {
            new odt(this.qqd, this.eWH, true).dnS();
        }
        new oem(this.eWH, this.qqd, "pic:spPr", this.qtQ, true, this.qtR).dnS();
        this.qqe.endElement("pic:pic");
    }
}